package com.xlh.exception;


import com.xlh.common.ResultEnum;

/**
 * @author lx
 */
public class StatisticLockException extends RuntimeException{

    private static final long serialVersionUID = 1L;

    private ResultEnum resultEnum;

    public StatisticLockException() {
    }

    public StatisticLockException(ResultEnum resultEnum) {
        super(resultEnum.toString());
        this.resultEnum = resultEnum;
    }

    public StatisticLockException(String message) {
        super(message);
    }

    public ResultEnum getResultEnum() {
        return resultEnum;
    }


}
